class Admin::RolesController < ApplicationController
  layout 'admin'
  before_filter :login_required, :authorization_required
  
  active_scaffold do |config|
    config.list.columns.exclude [:user_roles, :role_rights, :users] 
    config.create.columns.exclude [:users, :rights, :user_roles] 
    config.update.columns.exclude [:users, :rights, :user_roles] 
  end
end
